[main]
filesize=499108
sha512=d056e759544a2b8c90c01d32d78131dcc4f3312508548d46038ae1a274ad213b43c11c659595bf4f3df5d6576f6e0601997b192ae1f170f9d2cd7a051e767efd

[mirrors]
http://ftp.acc.umu.se/pub/GNOME/sources/librsvg/2.34/librsvg-2.34.2.tar.xz

[deps]
gdk-pixbuf
libxml2
pango
cairo
fontconfig
freetype

[build]
cp -f "$K"/config.sub .
[ -n "$CROSS_COMPILE" ] && \
  xconfflags="--host=$($CC -dumpmachine) --with-sysroot=$butch_root_dir"
CFLAGS="-D_GNU_SOURCE $optcflags" \
LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \
  ./configure -C --prefix="$butch_prefix" $xconfflags \
  --disable-silent-rules || exit 1

[ -n "$CROSS_COMPILE" ] && "$K"/libtool.cross.gen --sysroot="$butch_root_dir"

make -j$MAKE_THREADS || exit 1
make V=1 DESTDIR="$butch_install_dir" install || exit 1
